/* pages/home/home.wxss */
.page {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow-x: hidden;
  background: #24244d;

  .content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    // scroll-snap-type: y mandatory;
    // scroll-padding: 100rpx 0 0 0;

    .item {
      // scroll-snap-align: start;
      // scroll-snap-stop: always;
      flex-shrink: 0;
    }
  }


  .swiper1 {
    width: 100%;
    height: 1330rpx;
    font-size: 0;

    image {
      width: 100%;
      height: 1330rpx;
    }
  }

  .swiper2 {
    width: 100%;
    height: 890rpx;

    swiper-item {
      width: 100%;
      box-sizing: border-box;
      padding-left: 28rpx;
    }

    image {
      width: 100%;
      height: 890rpx;
    }
  }

  .dotBox {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0rpx;
    margin-top: 40rpx;

    .dotOne {
      width: 70rpx;
      height: 2px;
      margin: 0px 10rpx;
      border-radius: 1px;
      background: rgba(255, 255, 255, .5);
    }

    .acDotOne {
      background-color: #fff;
    }
  }

  .s-7 {
    width: 100%;
    height: 972rpx;
    overflow: hidden;
    position: relative;
    margin-top: -10rpx;

    .s-7-box {
      width: 100%;
      height: 972rpx;
      overflow: hidden;
      overflow-x: auto;
    }

    .s-7-box::-webkit-scrollbar {
      display: none;
    }

    .s-7-1 {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      bottom: 100rpx;
      width: 303rpx;
      height: 50rpx;
      z-index: 100;
    }
  }



  .s-e {
    width: 100%;
    height: 1380rpx;
    overflow: hidden;
  }
}


// 横向循环滚动
.scroll-view {
  width: 400%;
  height: 1330rpx;
  font-size: 0;
  display: flex;
  flex-wrap: nowrap;
  animation: scroll 10s linear infinite;
  image{
    width: calc(100% / 4);
    height: 1330rpx;
    flex-shrink: 0;
  }
}
// 定义横向衔接滚动的动画
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-75%);
  }
}

.scroll-view2{
  width: calc(670rpx * 4);
  height: 887rpx;
  font-size: 0;
  display: flex;
  flex-wrap: nowrap;
  animation: scroll1 10s linear infinite;
  image{
    width: calc(100% / 4);
    height: 887rpx;
    margin-right: 40rpx;
    flex-shrink: 0;
  }
}
// 定义横向衔接滚动的动画
@keyframes scroll1 {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-710rpx * 3);
  }
}